package com.dkm.orproject.dkmoa.service;

import com.dkm.orproject.dkmoa.domain.OaCarType;
import com.dkm.orproject.dkmoa.domain.OaPersonnel;
import com.dkm.orproject.dkmoa.domain.OaVote;
import com.dkm.orproject.utils.utils.ThreeVo;

import java.util.List;

/**
 * @ClassName : OaCarTypeService  //类名
 * @Description :   //描述
 * @Author : 易嵘  //作者
 * @Date: 2021-01-20 11:25  //时间
 */
public interface OaCarTypeService {
    List<OaCarType> findAll(String carTypeName, String startTime, String endTime, Integer page, Integer limit);

    Long rowCount(String carTypeName, String startTime, String endTime);

    List<ThreeVo> loadCarType(Long id, String show);

    OaCarType selectByPrimaryKey(Long id);

    int add(OaCarType car, OaPersonnel personnel);

    int updateByPrimaryKeySelective(OaCarType car);

    List<OaCarType> selectAll(List<Long> list);

    int deleteAll(List<Long> list);

    int deleteByPrimaryKey(Long id);
}
